export interface categoryInfoModel{
    id:number,
    name:string
}

export type Numberable = undefined | number
export type categoryInfoListModel = categoryInfoModel[]
export interface categoryIdsModel{
  category1Id: Numberable
  category2Id: Numberable
  category3Id: Numberable
}

// 定义一个约束分类接口数据的接口 并继承自另一个接口
export interface CategoryInfoStoreModel extends categoryIdsModel{
  // category1List:categoryInfoModel[]
  // category2List:categoryInfoModel[]
  // category3List:categoryInfoModel[]

  category1List:categoryInfoListModel
  category2List:categoryInfoListModel
  category3List:categoryInfoListModel
}